import request from '@/utils/http'





// 创建订单
export const createOrderAPI = (data) => {
  data.products.forEach(item => {
    // console.log();
    item.productCount=item.count
  })
  return request({
    url: '/user/order/detail',
    method: 'POST',
    data
  })
}